package com.zjm.structural.bridge.jdbc;

/**
 * 细化抽象：普通连接
 */
public class StandardConnection extends DatabaseConnection {

    public StandardConnection(DatabaseDriver driver, String url, String username, String password) {
        super(driver, url, username, password);
    }

    @Override
    public void executeQuery(String sql) {
        System.out.println("标准连接执行查询");
        driver.executeQuery(sql);
    }
}
